import request from '@/utils/request'

// 查询沥青混合料马歇尔试验检测报告(体积法)列表
export function listLqhhlMxetjfbgBsInfo(query) {
  return request({
    url: '/report_lqhhl/lqhhlMxetjfbgBsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询沥青混合料马歇尔试验检测报告(体积法)详细
export function getLqhhlMxetjfbgBsInfo(excelId) {
  return request({
    url: '/report_lqhhl/lqhhlMxetjfbgBsInfo/' + excelId,
    method: 'get'
  })
}

// 新增沥青混合料马歇尔试验检测报告(体积法)
export function addLqhhlMxetjfbgBsInfo(data) {
  return request({
    url: '/report_lqhhl/lqhhlMxetjfbgBsInfo',
    method: 'post',
    data: data
  })
}

// 修改沥青混合料马歇尔试验检测报告(体积法)
export function updateLqhhlMxetjfbgBsInfo(data) {
  return request({
    url: '/report_lqhhl/lqhhlMxetjfbgBsInfo',
    method: 'put',
    data: data
  })
}

// 删除沥青混合料马歇尔试验检测报告(体积法)
export function delLqhhlMxetjfbgBsInfo(excelId) {
  return request({
    url: '/report_lqhhl/lqhhlMxetjfbgBsInfo/' + excelId,
    method: 'delete'
  })
}

// 获取检测结论
export function queryJcjl(data) {
  return request({
    url: "/report_lqhhl/lqhhlMxebgfbgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
